import waveRequest from "@/api/request.js";

export const levelSave = (data) => waveRequest({
    method: 'post',
    url: '/level/save',
    data
})

export const levelDelete = (ids) => waveRequest({
    url: '/level/delete',
    method: 'post',
    data: {ids: ids}
})

export const levelModify = (data) => waveRequest({
    url: '/level/modify',
    method: 'post',
    data
})

export const levelQuery = (data) => waveRequest({
    url: '/level/query',
    method: 'post',
    data
})

export const levelList = (data) => waveRequest({
    url: '/level/list',
    method: 'post',
    data
})

export const levelPage = (data) => waveRequest({
    url: '/level/page',
    method: 'post',
    data
})